package org.whereiswally.fwkexamples.jppf.test;

import org.jppf.client.event.TaskResultEvent;
import org.jppf.client.event.TaskResultListener;
import org.whereiswally.job.findwally.FindWallyJob;

public class ResultListener implements TaskResultListener {

    public void resultsReceived(TaskResultEvent arg0) {
	for (Object task : arg0.getResults()) {
	    System.out.println("ResultListener ->"
		    + ((FindWallyJob) task).getResult());
	}

    }
}
